//
//  LayoutTemplate.m
//  UICollectionView的小练习
//
//  Created by apple on 15/9/25.
//  Copyright © 2015年 信徒. All rights reserved.
//

#import "LayoutTemplate.h"

@implementation LayoutTemplate

- (instancetype)init
{
    if (self = [super init])
    {
//        UICollectionViewFlowLayout *flowLayout = [UICollectionViewFlowLayout new];
        
        //最小行距
//        self.minimumInteritemSpacing = 0;
        
//        最小列距
        self.minimumLineSpacing = 0;
        
        //滚动的方向
        
        self.scrollDirection = UICollectionViewScrollDirectionHorizontal;
        
//        self.itemSize = CGSizeMake(50, 50);
        
        //分组之间的间距
//        self.sectionInset = UIEdgeInsetsMake(0, 0, 0, 0);
        
//        flowLayout.headerReferenceSize = CGSizeMake(30, 40);
        
//        flowLayout.footerReferenceSize = CGSizeMake(40, 30);
        
        
    }
    
    return self;
}

@end
